<div id="main">
    <div class="span3" id="left-column"><div id="set-list">Loading...<img src='/webwork2_files/images/ajax-loader-small.gif'></div>
    </div><div class="span9" id="cal"></div>
</div>

<script type="text/template" id="help-text">
<h3>Welcome to WeBWorK</h3>
   <p>The Homework Sets pages lists all homework sets assigned to you.  Click on a set to go to that set.  (I think this is really just all of the sets.) The calendar shows the open dates and due dates.  The beginning of an open date is start of a blue bar.  The span of the 
   blue bar is the open dates for 100% credit.  The span of the orange bar is the set of dates for reduced credit.  

    
</script>

<!-- The following is copied directly from the homework manager.  Code like this should appear in a separate file. -->

<script type="text/template" id="calendar-template">
<div id="calendar-error-bar"></div>
<div class="calendar-button-row">
<button type="button" class="previous-week btn btn-small"><i class="icon-chevron-left"></i>Previous Week</button>
<button type="button" class="view-month btn btn-small">Month View</button>
<button type="button" class="view-week btn btn-small">Week View</button>
<button type="button" class="next-week btn btn-small">Next Week<i class="icon-chevron-right"></i></button>
</div>

<table id='calendar-table' class='table-bordered'>
    <thead>
    <th>Sunday</th>
    <th>Monday</th>
    <th>Tuesday</th>
    <th>Wednesday</th>
    <th>Thursday</th>
    <th>Friday</th>
    <th>Saturday</th>
</thead><tbody></tbody>
<table id='calendar-table' class='table-bordered'></table>
<div class="calendar-button-row">
<button type="button" class="previous-week btn btn-small"><i class="icon-chevron-left"></i>Previous Week</button>
<button type="button" class="view-month btn btn-small">Month View</button>
<button type="button" class="view-week btn btn-small">Week View</button>
<button type="button" class="next-week btn btn-small">Next Week<i class="icon-chevron-right"></i></button>
</div>
</script>


<script type="text/template" id="calendar-date-bar">
<div class="<%= classes %>" data-set="<%= setname %>" data-title="<%=setname%>" data-content="Users Assigned: <%=usersAssigned%>/<%=totalUsers%><br>Open To Students: <%=openToStudents%>"><span><%if(showName){%><%=setname %><%}%></span></div>

</script>

<script type="text/template" id="too-many-assignments-error">
There are too many overlapping assignments to view efficiently.  Switch to week view for 
a better rendering. 
</script>



